/**
 * 函数变量模型
 *
 * Created by snowingsea on 2020/03/04.
 */
const mongoose = require('mongoose');
const schemaDefinition = require('./schema/function-variable');
const schemaInstance = mongoose.Schema(schemaDefinition);
schemaInstance.index({ versionId: 1, fileId: 1 });
const modelInstance = mongoose.model('function-variable', schemaInstance);

/**
 * Export model definition object.
 */
module.exports = modelInstance;
